package com.bristua.barcode.supplier.dao;

import com.bristua.barcode.supplier.model.TChannelRequestConfig;
import com.bristua.barcode.supplier.model.condition.TChannelRequestConfigExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TChannelRequestConfigMapper {
    long countByExample(TChannelRequestConfigExample example);

    int deleteByExample(TChannelRequestConfigExample example);

    int deleteByPrimaryKey(String requestConfigId);

    int insert(TChannelRequestConfig record);

    int insertSelective(TChannelRequestConfig record);

    List<TChannelRequestConfig> selectByExampleWithBLOBs(TChannelRequestConfigExample example);

    List<TChannelRequestConfig> selectByExample(TChannelRequestConfigExample example);

    TChannelRequestConfig selectByPrimaryKey(String requestConfigId);

    int updateByExampleSelective(@Param("record") TChannelRequestConfig record, @Param("example") TChannelRequestConfigExample example);

    int updateByExampleWithBLOBs(@Param("record") TChannelRequestConfig record, @Param("example") TChannelRequestConfigExample example);

    int updateByExample(@Param("record") TChannelRequestConfig record, @Param("example") TChannelRequestConfigExample example);

    int updateByPrimaryKeySelective(TChannelRequestConfig record);

    int updateByPrimaryKeyWithBLOBs(TChannelRequestConfig record);

    int updateByPrimaryKey(TChannelRequestConfig record);

    int batchUpdate(@Param("recordList") List<TChannelRequestConfig> recordList);

    int batchInsert(@Param("recordList") List<TChannelRequestConfig> recordList);

    int batchDelete(@Param("ids") String[] ids);
}